package com.ailight.smart.gateway.config;

import org.springframework.core.io.Resource;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.time.Duration;

/**
 * @author: 朱海鹏
 * @Package: com.ailight.smart.gateway.config
 * @Project: ai-light
 * @date: 2025/3/23 14:33
 * @description :
 */
@Data
@ConfigurationProperties(prefix = "light.jwt")
public class JwtProperties {
    private Resource location;
    private String password;
    private String alias;
    private Duration tokenTTL = Duration.ofMinutes(10);
}
